Update navigation.yml
#845
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm stuck on updating the
navigation.ymlfor release notes and I'm hoping @Mpdreamz can help me figure out where I'm going wrong.The problem
path_prefixto thetoc.ymlfile in each subdirectory in docs-content'srelease-notesdirectory:elastic-cloud-serverless→release-notes/cloud-serverlesselastic-observability→release-notes/observabilityelastic-security→release-notes/securityfleet-elastic-agent→release-notes/fleetindex.mdfile (justrelease_notes).navigation.ymlfile, but I'm not sure how to deal with theindex.mdfile (justrelease_notes) file because it doesn't have its owntoc.yml.What I tried
.artifacts/checkouts/docs-content/release-notesdirectory, I created a newintrodirectory.index.md: An exact copy ofindex.md.toc.yml: With theindex.mdfile as the only item.toc.ymlto be:Error: No toc for output path: 'docs-content://release-notes/index.md' falling back to: '/GitHub/docs-builder/.artifacts/assembly/docs/_failed/docs-content/release-notes/index.md'and the rendered result looked like this:I'm not sure what else to do.
Other changes
max_toc_depth: 2to the cloud repo'sdocset.ymlfile because I added separate items forcloud://release-notes/cloud-hostedandcloud://release-notes/cloud-enterprisesince these need different path prefixes, too.curator,ecctl, andlogstash-docs-mdtoassembler.ymlandnavigation.ymlnow that they are available and their links.json files are being updated.